/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Specialist Technologist Pathology Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20644 (C-0-T19465-S20608-S20644-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getSpecialistTechnologistPathologyProviderCodes()
 * @model extendedMetaData="name='SpecialistTechnologistPathologyProviderCodes'"
 * @generated
 */
public enum SpecialistTechnologistPathologyProviderCodes implements Enumerator {
	/**
	 * The '<em><b>246Q00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246Q00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246Q00000X(0, "_246Q00000X", "246Q00000X"),

	/**
	 * The '<em><b>246QB0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QB0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QB0000X(1, "_246QB0000X", "246QB0000X"),

	/**
	 * The '<em><b>246QC1000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QC1000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QC1000X(2, "_246QC1000X", "246QC1000X"),

	/**
	 * The '<em><b>246QC2700X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QC2700X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QC2700X(3, "_246QC2700X", "246QC2700X"),

	/**
	 * The '<em><b>246QH0401X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0401X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0401X(4, "_246QH0401X", "246QH0401X"),

	/**
	 * The '<em><b>246QH0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0000X(5, "_246QH0000X", "246QH0000X"),

	/**
	 * The '<em><b>246QH0600X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QH0600X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QH0600X(6, "_246QH0600X", "246QH0600X"),

	/**
	 * The '<em><b>246QI0000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QI0000X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QI0000X(7, "_246QI0000X", "246QI0000X"),

	/**
	 * The '<em><b>246QL0900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QL0900X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QL0900X(8, "_246QL0900X", "246QL0900X"),

	/**
	 * The '<em><b>246QL0901X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QL0901X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QL0901X(9, "_246QL0901X", "246QL0901X"),

	/**
	 * The '<em><b>246QM0706X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QM0706X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QM0706X(10, "_246QM0706X", "246QM0706X"),

	/**
	 * The '<em><b>246QM0900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_246QM0900X_VALUE
	 * @generated
	 * @ordered
	 */
	_246QM0900X(11, "_246QM0900X", "246QM0900X");

	/**
	 * The '<em><b>246Q00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246Q00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246Q00000X
	 * @model literal="246Q00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246Q00000X_VALUE = 0;

	/**
	 * The '<em><b>246QB0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QB0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QB0000X
	 * @model literal="246QB0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QB0000X_VALUE = 1;

	/**
	 * The '<em><b>246QC1000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QC1000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QC1000X
	 * @model literal="246QC1000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QC1000X_VALUE = 2;

	/**
	 * The '<em><b>246QC2700X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QC2700X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QC2700X
	 * @model literal="246QC2700X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QC2700X_VALUE = 3;

	/**
	 * The '<em><b>246QH0401X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0401X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0401X
	 * @model literal="246QH0401X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0401X_VALUE = 4;

	/**
	 * The '<em><b>246QH0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0000X
	 * @model literal="246QH0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0000X_VALUE = 5;

	/**
	 * The '<em><b>246QH0600X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QH0600X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QH0600X
	 * @model literal="246QH0600X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QH0600X_VALUE = 6;

	/**
	 * The '<em><b>246QI0000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QI0000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QI0000X
	 * @model literal="246QI0000X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QI0000X_VALUE = 7;

	/**
	 * The '<em><b>246QL0900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QL0900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QL0900X
	 * @model literal="246QL0900X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QL0900X_VALUE = 8;

	/**
	 * The '<em><b>246QL0901X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QL0901X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QL0901X
	 * @model literal="246QL0901X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QL0901X_VALUE = 9;

	/**
	 * The '<em><b>246QM0706X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QM0706X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QM0706X
	 * @model literal="246QM0706X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QM0706X_VALUE = 10;

	/**
	 * The '<em><b>246QM0900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>246QM0900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_246QM0900X
	 * @model literal="246QM0900X"
	 * @generated
	 * @ordered
	 */
	public static final int _246QM0900X_VALUE = 11;

	/**
	 * An array of all the '<em><b>Specialist Technologist Pathology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final SpecialistTechnologistPathologyProviderCodes[] VALUES_ARRAY =
		new SpecialistTechnologistPathologyProviderCodes[] {
			_246Q00000X,
			_246QB0000X,
			_246QC1000X,
			_246QC2700X,
			_246QH0401X,
			_246QH0000X,
			_246QH0600X,
			_246QI0000X,
			_246QL0900X,
			_246QL0901X,
			_246QM0706X,
			_246QM0900X,
		};

	/**
	 * A public read-only list of all the '<em><b>Specialist Technologist Pathology Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<SpecialistTechnologistPathologyProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Specialist Technologist Pathology Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistPathologyProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			SpecialistTechnologistPathologyProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Specialist Technologist Pathology Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistPathologyProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			SpecialistTechnologistPathologyProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Specialist Technologist Pathology Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static SpecialistTechnologistPathologyProviderCodes get(int value) {
		switch (value) {
			case _246Q00000X_VALUE: return _246Q00000X;
			case _246QB0000X_VALUE: return _246QB0000X;
			case _246QC1000X_VALUE: return _246QC1000X;
			case _246QC2700X_VALUE: return _246QC2700X;
			case _246QH0401X_VALUE: return _246QH0401X;
			case _246QH0000X_VALUE: return _246QH0000X;
			case _246QH0600X_VALUE: return _246QH0600X;
			case _246QI0000X_VALUE: return _246QI0000X;
			case _246QL0900X_VALUE: return _246QL0900X;
			case _246QL0901X_VALUE: return _246QL0901X;
			case _246QM0706X_VALUE: return _246QM0706X;
			case _246QM0900X_VALUE: return _246QM0900X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private SpecialistTechnologistPathologyProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //SpecialistTechnologistPathologyProviderCodes
